/**
 * @filename:WorkSetting Feb 22, 2024
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**   
 * @Description:TODO(工单设置实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_workorder")
@ApiModel(value="sys_workorder对象", description="工单设置表")
public class WorkSetting extends Model<WorkSetting> {

	private static final long serialVersionUID = 1704693309072152L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "fnumber") 	
	@ApiModelProperty(name = "fnumber" , value = "编号")
    private String fnumber;
    
    @TableField(value = "fbillno") 	
	@ApiModelProperty(name = "fbillno" , value = "工单号")
    private String fbillno;
    
    @TableField(value = "fname") 	
	@ApiModelProperty(name = "fname" , value = "名称")
    private String fname;
    
    @TableField(value = "fcustomer") 	
	@ApiModelProperty(name = "fcustomer" , value = "客户")
    private String fcustomer;
    
    @TableField(value = "fheader") 	
	@ApiModelProperty(name = "fheader" , value = "负责人")
    private String fheader;
    
    @TableField(value = "fcreateuser") 	
	@ApiModelProperty(name = "fcreateuser" , value = "创建人")
    private String fcreateuser;
    
    @TableField(value = "fcreatedate") 	
	@ApiModelProperty(name = "fcreatedate" , value = "创建时间")
    private Date fcreatedate;
    
    @TableField(value = "fupdateuser") 	
	@ApiModelProperty(name = "fupdateuser" , value = "修改人")
    private String fupdateuser;
    
    @TableField(value = "fupdatedate") 	
	@ApiModelProperty(name = "fupdatedate" , value = "修改时间")
    private Date fupdatedate;
    
    @TableField(value = "faudituser") 	
	@ApiModelProperty(name = "faudituser" , value = "审核人")
    private String faudituser;
    
    @TableField(value = "fauditdate") 	
	@ApiModelProperty(name = "fauditdate" , value = "审核时间")
    private Date fauditdate;
    
    @TableField(value = "fendate") 	
	@ApiModelProperty(name = "fendate" , value = "完成时间")
    private Date fendate;
    
    @TableField(value = "fnote") 	
	@ApiModelProperty(name = "fnote" , value = "备注")
    private String fnote;
    
    @TableField(value = "fstatus") 	
	@ApiModelProperty(name = "fstatus" , value = "状态")
    private Integer fstatus;
    
    @TableField(value = "fstartdate") 	
	@ApiModelProperty(name = "fstartdate" , value = "开始时间")
    private Date fstartdate;
    
    @TableField(value = "ftype") 	
	@ApiModelProperty(name = "ftype" , value = "工单类型")
    private Integer ftype;
    
    @TableField(value = "fisvs") 	
	@ApiModelProperty(name = "fisvs" , value = "波形是否存在")
    private String fisvs;
    
    @TableField(value = "fistest") 	
	@ApiModelProperty(name = "fistest" , value = "测试波形是否存在")
    private String fistest;

    @TableField(value = "fvs")
    @ApiModelProperty(name = "fvs" , value = "vs值")
    private Integer fvs;

    @TableField(value = "fvcom")
    @ApiModelProperty(name = "fvcom" , value = "vcom值")
    private Integer fvcom;

    @TableField(value = "flabxz") 	
	@ApiModelProperty(name = "flabxz" , value = "lab选择")
    private String flabxz;
    
    @TableField(value = "ftupian") 	
	@ApiModelProperty(name = "ftupian" , value = "上传图片")
    private String ftupian_table;
	
	@TableField(exist = false)
	private List<Map<String,Object>> ftupian;
    
    @TableField(value = "ftpname") 	
	@ApiModelProperty(name = "ftpname" , value = "图片名称")
    private String ftpname;
    
    @TableField(value = "fbxtype") 	
	@ApiModelProperty(name = "fbxtype" , value = "波形类型")
    private String fbxtype;
    
    @TableField(value = "flabcontent") 	
	@ApiModelProperty(name = "flabcontent" , value = "lab内容")
    private String flabcontent;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
